<ion-header-bar align-title="left" class="bar-positive"
                style="background-image:linear-gradient(0deg, #59ADC9, #6EBDDB 50%, transparent 50%)">
  <div class="buttons">
    <button ng-click="$ionicGoBack()"
            class="button back-button no-animation button-icon icon buttons button-clear ion-ios-arrow-back">
    </button>
  </div>
  <h1 class="title" align="middle">{{study.stdTitle}}</h1>
</ion-header-bar>
<ion-view>
  <ion-content style="font-family: 'Microsoft Yahei'">
    <div class="aui-card-list-content df-act-comment">
      <div class="stu-ans">
        <h2 style="color:#fff; font-family: 'Microsoft YaHei UI Light'" align="left">{{study.stdContent}}</h2>
      </div>
      <li class="aui-list-item aui-list-item-middle df-stu-user">
        <div class="aui-media-list-item-inner">
          <div class="aui-list-item-media">
            <img ng-src="{{user.avatar}}" class="aui-img-round aui-list-img-sm">
          </div>
          <div class="aui-list-item-inner">
            <div class="aui-list-item-text">
              <div class="aui-list-item-title" style="font-size: 0.6rem">{{user.username}}</div>
            </div>
            <div class="aui-list-item-text" style="font-size: 0.6rem">
              {{user.motto}}
            </div>
          </div>
          <!--          <button ng-show="choose" ng-click="attention()"
                            class="button  button-small y-lasttime-right icon-left ion-ios-plus-outline button-balanced"
                            style="padding: 0px 14px;right: 14px;top: 14px;">关注
                    </button>
                    <button ng-hide="choose" ng-click="attention()" class="button  button-small y-lasttime-right icon-left"
                            style="padding: 0px 14px;right: 14px;top: 14px;background: gainsboro;color:grey">已关注
                    </button>-->
        </div>
      </li>
    </div>
    <div class="aui-card-list-content df-act-comment" style="position: relative;bottom:30px">
      <ul class="aui-list aui-media-list">
        <li ng-repeat="reply in replylist" class="aui-list-item aui-list-item-middle df-act-coms">
          <div class="aui-media-list-item-inner">
            <div class="aui-list-item-media">
              <img ng-src="{{reply.avatar}}" class="aui-img-round aui-list-img-sm">
            </div>
            <div class="aui-list-item-inner" style="border-bottom: 1px solid #ccc;">
              <div class="aui-list-item-text">
                <div class="aui-list-item-title aui-font-size-14">{{reply.username}}</div>
              </div>
              <div class="aui-list-item-text">
                {{reply.stdReContent}}
              </div>
              <p class="y-front-size">
                <span class="y-p-col">{{reply.stdReTime | date : 'yyyy-MM-dd HH:mm' : 'UTC+08:00'}}</span>
                <span ng-click="replay('{{reply.username}}')" class="y-p-col-right" style="padding-left: 10px"><i
                  class="aui-iconfont aui-icon-comment"></i></span>
                <span class="y-p-col-right"> <i ng-style="slike" ng-hide="dzlike"
                                                class="aui-iconfont aui-icon-laud"></i>
                  <i ng-show="dzlike" ng-click="slike={'color':'#ebc951'};addlike(reply.stdReId);reply.stdReLike = reply.stdReLike + 1;"
                     class="aui-iconfont aui-icon-laud"></i>{{reply.stdReLike}}</span>
              </p>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </ion-content>
  <ion-footer-bar class="bar-light" resize-foot-bar style="background-image:none;box-shadow: 0 0 1px #eee;">
    <label class="item item-input rj-footer-input">
      <textarea msd-elastic ng-model="stdReContent" style="min-height: initial" placeholder="添加评论"
                required></textarea>
    </label>
    <div class="rj-footer-btn-wrap" ng-click="send()">
      <div class="buttons">
        <button style="color:#6EBDDB" class="button button-icon icon ion-android-send rj-footer-btn-left">
        </button>
      </div>
    </div>
  </ion-footer-bar>
</ion-view>
